package org.rcloud.io.mapper;

import org.rcloud.io.model.Travel;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TravelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Travel record);

    int insertSelective(Travel record);

    Travel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Travel record);

    int updateByPrimaryKey(Travel record);

    List<Travel> selectAll();

    Travel selectByEid(String eid);
}